#pragma once

//@author A0096950U
#include <stack>
#include <string>
#include "Action.h"
#include "Logger.h"

class History {
private:
	static const string ERRORMESSAGE_NO_COMMAND_TO_UNDO;
	stack<Action> actionHistory;
	Logger& logger;

public:
	History(void);

	void addAction(Action actionToAdd);
	Action undoAction();
	Action getLastAction();
};

